<?php
/**
 * Bind Manager
 *
 * A CakePHP Plugin to manage Bind
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @author        
 * @copyright     Copyright 2011, Frédéric Massart
 * @link          http://github.com/FMCorz/AclManager
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
$plugin = 'Wechat';
Configure::write("{$plugin}.app", $plugin);
Configure::write("{$plugin}.auth", 'zmx@cheenyu.com');
Configure::write("{$plugin}.icon", "{$plugin}.app.png");
Configure::write("{$plugin}.version", "1.0.0");


//正式
Configure::write("{$plugin}.appID", 'wx43e86eca75057d84');
Configure::write("{$plugin}.appsecret", 'cbdcd456c05adcc17726ef58ac58d344');


Configure::write("{$plugin}.token", '');
Configure::write("{$plugin}.encodingaeskey", '');


Cache::config('token_', array(
	'engine' => 'File',
	'prefix' => 'zmx_token_',
	'duration' => '7000', //小于两小时
	'serialize' => true,
));